body {
  background-color: #ffffff;
}

.container-warp {
  position: relative;
  height: 100%;
  overflow: hidden;

  .container-scroll {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    overflow-y: scroll;
  }

}

/** header **/
.header-tab {
  padding: 0px 90px;
  text-align: center;
  line-height: 44px;
  background-color: #efeff0;
  border-bottom: 1px #ddd solid;
  position: relative;

  a:before {
    content: "\4e66\67b6";
    display: block;
    margin: 0 auto;
    width: 2em;
  }
  a:first-child:before {
    content: "\4e66\57ce";
  }

  i {
    bottom: -1px;
  }

  i:before {
    content: '';
    display: block;
    height: 2px;
    width: 34px;
    margin: 0 auto;
    background-color: #777;
  }

  .header-user {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 44px;
    height: 44px;
    background: url("../img/user.png") no-repeat center;
    background-size: 16px;
  }

  .header-checkin {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 44px;
    height: 44px;
    background: url("../img/qiandao.png") no-repeat center;
    background-size: 22px;
  }

  .Swipt-tab {
    position: relative;
    overflow: hidden;
    z-index: 1;

    i {
      position: absolute;
      left: 0px;
      -webkit-transition: -webkit-transform .3s ease-out;
    }

    a {
      float: left;
      text-align: center;
      -webkit-tap-highlight-color: rgba(0,0,0,0);
    }

    .Swipe-tab__on {
      color: #ff6600;
    }

  }

  .Swipe-tab_2 a {
    width: 50%;
  }

  .f-cb:after {
    clear:  both;
    content: '';
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
  }

}

/** index-top **/
.top-home {
  background-color: #fff;
  border-bottom: 10px #f5f5f5 solid;

  .to-home__search {
    margin: 10px 13px;
    padding: 1px 0 0 30px;
    font: 11px/33px a;
    color: rgba(0,0,0,0.4);
    background: url("../img/search.png") no-repeat 8px center;
    background-size: 14px;
    border: 1px #f5f5f5 solid;
    border-radius: 2px;
  }

  .slider-banner {
    .cover {
      width: 100%;
    }
  }

  .top-home__btn {
    margin: 14px 0 4px;
    display: flex;
    width: 100%;

    li {
      line-height: 2.4;
      font-size: 12px;
      text-align: center;
      flex: 1;

      .top-home__icon {
        display: block;
        margin: 0 auto;
        height: 22px;
        width: 22px;
      }

    }

  }

}

/** 重磅推荐 **/
.channel-h5 {
  background-color: #ffffff;
  border-bottom: 10px #f5f5f5 solid;
  position: relative;

  .channel-h5__header {
    padding: 15px 13px 14px 13px;
    border-bottom: 1px #f0f0f0 solid;
    position: relative;

    .channel-h5__title {
      position: relative;
      font: 13px/13px a;
      color: rgba(0,0,0,0.9);

      >i {
        position: absolute;
        margin: -1px 0 0 5px;
        padding: 3px 5px 0 5px;
        font: 9px/9px a;
        color: #ffffff;
        background-color: #53ac7d;
        border-radius: 1px;
      }

    }

    .tab {
      position: absolute;
      right: 13px;
      top: 9px;

      a {
        position: relative;
        padding: 16px 7px;
        font: 12px/12px a;
        color: #999;

        &:first-child:after {
          content: '';
          position: absolute;
          top: 16px;
          bottom: 16px;
          right: 0;
          width: 1px;
          border-right: 1px #ccc solid;
        }

        &:last-child {
          padding-right: 0px;
        }

      }

      .tab__on {
        color: #528ae8 !important;
      }

    }

  }

  .list-h5 {
    padding: 0 13px;

    li {
      padding: 17px 0;
      border-bottom: 1px #f0f0f0 solid;
      &:last-child {
        border: none;
      }

      .book-h5 {
        overflow: hidden;

        .book-h5__cover {
          float: left;
          position: relative;
          width: 85px;
          height: 113px;
          background-color: #eeece9;
          border: 1px #f0f0f0 solid;
          border-radius: 1px;
          overflow: hidden;

          img {
            width: 100%;
            height: 100%;
            border-radius: 1px;
          }

          .book-h5__finish {
            position: absolute;
            bottom: 0px;
            width: 100%;
            color: #ffffff;
            padding: 25px 7px 6px;
            font: 10px/10px a;
            background: linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,0.3));
          }

        }

        .book-h5__info {
          margin-left: 100px;
          padding-top: 16px;
          background: #ffffff;

          .book-h5__title {
            margin-bottom: 4px;
            font: 16px/17px a;
            color: rgba(0,0,0,0.9);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: normal;
          }

          .book-h5__author {
            margin-bottom: 8px;
            font: 12px/12px a;
            color: rgba(0,0,0,0.7);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: normal;
          }

          .book-h5__summary {
            margin: 8px 0 0;
            height: 2.8em;
            font: 12px/1.4em a;
            color: rgba(0,0,0,0.6);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: normal;
            display: flex;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
          }

          .book-h5__wrap {
            margin: 10px;
            padding-top: 3px;
            overflow: hidden;

            .book-h5__tag {
              float: left;
              margin: -3px 7px 0 0;
              padding: 3px 6px 2px;
              max-width: 6em;
              font: 10px/11px a;
              color: #53ac7d;
              border: 1px #53ac7d solid;
              border-radius: 3px;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: normal;
              &:last-child {
                margin-right: 0px;
              }
            }
          }

        }

      }

      .book-h5__no-img {

        .book-h5_no-img__order {
          float: left;
          margin-top: 1px;
          font: 13px/13px a;
          color: rgba(237,83,15,0.9);
        }

        .book-h5_no-img__info {
          margin-left: 27px;
          .book-h5_no-img__title {
            font: 15px/15px a;
            color: rgba(0,0,0,0.9);
            background-color: #ffffff;
          }
        }
      }

    }

  }

  .channel-h5__footer_next {
    border: 1px #f0f0f0 solid;
    display: flex;
    a {
      flex: 1;
      padding: 14px;
      font: 13px/1.3em a;
      color: rgba(0,0,0,0.9);
      text-align: center;
      &:first-child {
        border-right: 1px #f0f0f0 solid;
      }
    }
  }

}

/** 限时免费 **/
.channer-group {
  position: relative;
  .channel-group__header {
    position: relative;
    padding: 10px 14px;
    border-bottom: 1px #f0f0f0 solid;
    border-left: 6px #ffab18 solid;

    .channel-group__title {
      font-size: 16px;
      font-weight: normal;
      color: #333333;
    }
  }

  .book-table {
    padding: 13px 14px 5px;
    font-size: 0;

    li {
      width: 33.3%;
      display: inline-block;
      vertical-align: top;
      line-height: 1;
      margin-bottom: 8px;

      .u-book {
        width: 86px;
        position: relative;
        overflow: hidden;
        text-align: center;

        .book-cover {
          position: relative;
          width: 86px;
          height: 113px;
          background-color: #eeece9;
          box-shadow: 0px 6px 5px -3px #aaa;
          border: 1px #f0f0f0 solid;
          overflow: hidden;
          border-bottom: none;

          img {
            width: 100%;
            height: 100%;
          }

          .u-tagRT {
            position: absolute;
            top: 0px;
            right: 0px;
            line-height: 1.4rem;
            background-color: #ef6c2c;
            color: #ffffff;
            width: 100%;
            font-size: 0.9rem;
            text-align: center;
            transform-origin: top center;
            transform: translateX(50%) rotate(45deg) translateY(50%) scale(0.8);
          }

          .-freefiction {
            background-color: #49ab3f;
            &:before {
              content: '\9650\514d';
            }
          }

        }

        .book-info {
          padding-top: 8px;

          .book-info-titile {
            font-size: 13px;
            line-height: 1.4em;
            max-height: 2.8em;
            overflow: hidden;
            color: #8d8d8d;
            margin-bottom: 0px;
            font-weight: 400;
          }

        }

      }

    }

  }

  .channel-group__footer {
    display: block;
    border-top: 1px #f0f0f0 solid;
    text-align: center;
    font-size: 14px;
    padding: 19px 0;
  }

}

/** 书架 **/
.shelf {
  padding: 10px 20px 0;

  .shelf__top {

    .shelf__switch {
      width: 36px;
      height: 36px;
      float: right;
      border-radius: 4px;
      background: url("../img/shelf-switch.png") no-repeat center;
      background-size: 16px;
      border: 1px #eee solid;
    }
    .shelf-search {
      margin-right: 46px;
      font-size: 12px;
      color: #cccccc;
      border: 1px #eee solid;
      border-radius: 4px;
      line-height: 36px;
      background: url("../img/search.png") no-repeat 10px center;
      background-size: 14px;
      padding-left: 32px;
    }

  }

  .book-list {

    li {
      display: inline-block;
      width: 100%;
    }

    .u-book {
      padding: 13px 20px;
      width: auto;

      .book-cover {
        float: left;
        margin-right: 10px;
      }

      .book-info {
        padding-top: 1.2em;
      }

    }
  }

}